package com.yogurt.servicebase.handler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Auther: 酸奶
 * @Date: 2020/07/09 15:55
 * @Description: 自定义异常
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MyException extends RuntimeException{
    private Integer code;//状态码
    private String msg;//异常信息
}
